<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* .ps{
            color: blue;
            font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
            font-size: 30px;
        } */
    </style>
</head>

<body>

    <p id="demo"></p>

    <script>
      window.addEventListener("resize", function(){
        document.getElementById("demo").innerHTML = Math.random();
    });
    </script>




</body>

</html>